<?php
use \think\Route;
use \think\Config;

// 首页
Route::get('/', 'index/index');

// 详情页
Route::get('/category/:type/:name/:title', 'index/detail');


// 分类查看页
Route::get('/category/:type/:name', 'index/category');

// Route::get('/category/:type', 'index/specialCategory');
// 专题分类查看页
Route::get('/:name/:type', 'index/specialCategory',['method'=>'get'], ['name'=>'featured|popular|category']);
// 搜索页
Route::get('/search', 'index/search');

// 关于我们页
Route::get('/about', 'index/about');

// 联系我们页
Route::get('/contact', 'index/contact');

// 服务条款页
Route::get('/terms', 'index/terms');

// 隐私政策页
Route::get('/privacy', 'index/privacy');



